/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */
#ifndef __FLASH_H
#define __FLASH_H
#ifdef __cplusplus
extern "C" {
#endif 
#include "at32f4xx.h"
	u8 Flash_AppSector_Erase();
	FLASH_Status Flash_write_16bits(u32 WriteAddr, u8* pBuffer, u16 size);
	void Flash_Read(u32 ReadAddr, u8* pBuffer, u16 size);
	void FLASH_RW_TEST();
#ifdef __cplusplus
}
#endif 
#endif // !__FLASH_H
